home *** CD-ROM | disk | FTP | other *** search
-
- This Program is FREEWARE, THERE IS NO WARRATY FOR THIS PROGRAM
- **************************************************************
-
-
- pc2doc
- ******
-
- converts ASCII-texts (PC or AMIGA) into a paragraph-format, whereas
- umlauts are replaced and PC-CRs removed.
-
- However, this program is not a YACREM (Yet Another CR rEMover) or
- normal ASCII converter.
-
-
- Motivation
- **********
-
- I came across some large files from the internet and wanted to print
- them out using a wordprocessor. Unfortunately I had to deal with several problems:
-
- - indented paragraphs/ whole passages
- - blanks/ tabs
- - no blank lines between paragraphs
- - double blank characters
- - several different delimiter
- - PC-unlauts
- - word wraps
-
- Simple removing of the CRs or connecting of the lines didn't lead to the desired succes.
- As I couldn't find a proper program on the Aminet, I had to beardown my laziness and to
- write a program on my own using AmigaE.
-
- What it does:
-
-
- AAAAAAAAAAAAAAAA
-
- 111111111
- *********
-
- 2 2222 2222 22222:
- ------------------
-
- 3 33333333333333
- ~~~~~~~~~~~~~~~~
-
- A AAAAA AAAA A AA A A AA A AA
- AAA A A A AAAA A A A A A A A A AAAA.
-
- ***
-
- B BBBB B BBBB B BBBB BBBB
- BBB B BBBBB B BBBBB B BBB,
- BBBBB BBBBBB BBBBB BBBBB
- BBBBBBB BBBBBB BBBB
- BBB BBBBBBBBBBBB BBBB
- BBBB BBBBBBBBB BBBBBB.
-
- C CC CCCCCCC CCCCCCCCC CCC.
-
- END
-
-
- |
- ==== becomes ====>
- |
-
-
- AAAAAAAAAAAAAAAA
-
- 111111111
- *********
-
- 2 2222 2222 22222:
- ------------------
-
- 3 33333333333333
- ~~~~~~~~~~~~~~~~
-
- A AAAAA AAAA A AA A A AA A AA AAA A A A AAAA A A A A A A A A AAAA.
-
- ***
-
- B BBBB B BBBB B BBBB BBBB BBB B BBBBB B BBBBB B BBB, BBBBB BBBBBB BBBBB BBBBB BBBBBBB BBBBBB BBBB BBB BBBBBBBBBBBB BBBB BBBB BBBBBBBBB BBBBBB.
-
- C CC CCCCCCC CCCCCCCCC CCC.
-
- END
-
-
-
- Usage from Shell:
- *****************
-
- FILE/A,NS=NOTSMART/S,L=LENGTH/S,RS=REMOVESPACES/S,IFS=IGNOREFIRSTSPACES/S,
- NMS=NOMULTIPLESPACES/S:
-
-
- FILE: file to load
- LENGTH: use linelength to determine paragraph
- REMOVESPACES: remove leading and ending spaces
- IGNOREFIRSTSPACES: leading spaces will be ignored when searching for paragraphs
- NOMULTIPLESPACES: multiple spaces are substituted for a single space
-
-
- The given file isn't changed, instead a new file with the postfix ".doc" will be created,
- no matter if it already exists or not!
-
-
- For those of you who want to use a GUI, I recommend the program 'R' © by Guido Mersmann.
-
-
-
- Author:
- ~~~~~~
-
- Questions, suggestions, bugs, etc. to
-
- Alexander Döller
- <adoeller@wtal.de>
-